package com.yc.game.cms.service;

import com.github.pagehelper.PageInfo;
import com.yc.game.cms.pojo.TrainingContent;
import com.yc.game.cms.vo.TrainingVo;

public interface TrainingContentService {
    PageInfo<TrainingContent> getAll(Integer pageNum, Integer pageSize);

    int update(TrainingContent trainingContent);

    int deleteById(Integer trainingId);

    PageInfo<TrainingVo> findAll(Integer pageNum, Integer pageSize);
}
